package com.open.capacity.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 试卷和学生关系表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "exam_paper_user")
public class ExamPaperUser {
    /**
     * 试卷和学生关系id
     */
    @TableId(value = "pausid", type = IdType.AUTO)
    private Integer pausid;

    /**
     * 试卷id
     */
    @TableField(value = "expaid")
    private Integer expaid;

    /**
     * 考题id
     */
    @TableField(value = "userid")
    private String userid;

    /**
     * 状态：1=未完成考试，2=已完成考试
     */
    @TableField(value = "status")
    private Integer status;
}